/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.chiefmedicalofficer.mcd.model;

import com.hp.hpl.jena.vocabulary.DC;
import com.hp.hpl.jena.vocabulary.RDFS;

/**
 *
 * @author twilson
 */
public class PredicateDescription {

    private String uri = null;
    private String label = null;
    private String title = null;
    private String description = null;
    private String parentUri = null;

    public PredicateDescription() {

    }

    public PredicateDescription(String predicateUri) {
        setUri(uri);
        GraphStore graphStore = GraphStore.getInstance();
        setTitle(graphStore.getAttribute(predicateUri,
                DC.title.getURI()));
        setLabel(graphStore.getAttribute(predicateUri,
                RDFS.label.getURI()));
        setDescription(graphStore.getAttribute(predicateUri,
                DC.description.getURI()));
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getParentUri() {
        return parentUri;
    }

    public void setParentUri(String parentUri) {
        this.parentUri = parentUri;
    }

    public String getParent() {
        return parentUri;
    }

    public void setParent(String parent) {
        this.parentUri = parent;
    }
}
